<?php
namespace App\Fastapp\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 系统消息列表Dto （导入导出）
 */
#[ExcelData]
class FastappMessageDto implements MineModelExcel
{
    #[ExcelProperty(value: "主键", index: 0)]
    public string $id;

    #[ExcelProperty(value: "入口类型", index: 1)]
    public string $account_type;

    #[ExcelProperty(value: "消息类型", index: 2)]
    public string $type;

    #[ExcelProperty(value: "数据类型1链接2视频3分享4文章", index: 3)]
    public string $object_type;

    #[ExcelProperty(value: "关联数据", index: 4)]
    public string $object_id;

    #[ExcelProperty(value: "排序", index: 5)]
    public string $sort;

    #[ExcelProperty(value: "链接", index: 6)]
    public string $url;

    #[ExcelProperty(value: "标题", index: 7)]
    public string $title;

    #[ExcelProperty(value: "封面", index: 8)]
    public string $image;

    #[ExcelProperty(value: "描述", index: 9)]
    public string $desc;

    #[ExcelProperty(value: "内容", index: 10)]
    public string $content;

    #[ExcelProperty(value: "备注", index: 11)]
    public string $remark;

    #[ExcelProperty(value: "created_at", index: 12)]
    public string $created_at;

    #[ExcelProperty(value: "updated_at", index: 13)]
    public string $updated_at;

    #[ExcelProperty(value: "deleted_at", index: 14)]
    public string $deleted_at;


}